// 设置通用样式
html,body
  line-height 1px
  font-weight: 100
  font-family 'PingFang SC','STHeitiSC-Light',Arial, Helvetica, sans-serif

.clearfix
  display inline-block
  &:after
    display block
    height 0
    line-height 0
    clear both
    visibility hidden
    content '.'

// 根据最小dpi进行缩放显示
@media (-webkit-min-device-pixel-ration: 1.5),(min-device-pixel-ration: 1.5)
  .border-1px
    &::after
      -webkit-transform: scaleY(0.7)
      transform scaleY(0.7)

@media (-webkit-min-device-pixel-ration: 2),(min-device-pixel-ration: 2)
  .border-1px
    &::after
      -webkit-transform: scaleY(0.5)
      transform scaleY(0.5)
